VERSION 	= River 0.02 \(24/2/2013\)
AUTHOR		= 吴继鹏
BOOT		= boot/boot
SETUP           = boot/setup
KERNEL		= kernel/kernel

.PHONY : clear buildimg version author fork 

all :	clear fork buildimg 
	rm -f $(BOOT) $(SETUP) $(KERNEL)

clear :
	rm -f $(BOOT) $(SETUP) $(KERNEL)

buildimg :
	build/bdimg boot/boot setup/setup kernel/kernel > a.img

version :
	@echo $(VERSION)

author :
	@echo $(AUTHOR)

fork :
	(cd build ; make)
	(cd boot  ; make)
	(cd setup ; make) 
	(cd kernel; make)

